package net.sf.ivyide;

import com.intellij.openapi.util.JDOMExternalizable;
import fr.jayasoft.ivy.Ivy;
import fr.jayasoft.ivy.ModuleId;
import fr.jayasoft.ivy.filter.Filter;

import java.io.File;
import java.util.Map;

public interface IvyEnvironmentInfo extends JDOMExternalizable {

    Ivy initializeIvy();

    Filter getArtifactFilter();

    /**
     * Get ivy file for a dependant module.
     * Return null if it does not exist
     */
    ModuleSourceDescriptor getModuleSource(File file);

    Map<ModuleId, File> getModules();

}
